package com.mc.lp.shared.vo;


/**
 * this vo is supplied by all other vos to provide the information about search
 * criteria and registration id details.
 * 
 * @author deepak
 * 
 */
public class SearchCriteriaVO implements IValueObject {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String year;
	private int gradeId;
	private int termId;
	private Long studentEntityId;
	private Long userId;
	private String recordType;
	private Long pageNumber;
	private Long limit;
	// Advance graph filter parameters
	private String[] selectedGrade;
	private String[] selectedSubjectList;
	private String[] selectedTerm;
	// year = 1 and term = 2
	private String selectedPeriod;
	
	
	
	//search options for student search on admin pages
	private String searchQuery;
	private String searchParameter; //this would be id in integer form
	
	
	public SearchCriteriaVO(){}
	public SearchCriteriaVO(String year, int gradeId, int termId, Long studentEntityId, String recordType) {
		super();
		this.year = year;
		this.gradeId = gradeId;
		this.termId = termId;
		this.studentEntityId = studentEntityId;
		this.recordType = recordType;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public int getGradeId() {
		return gradeId;
	}

	public void setGradeId(int gradeId) {
		this.gradeId = gradeId;
	}

	public int getTermId() {
		return termId;
	}

	public void setTermId(int termId) {
		this.termId = termId;
	}

	public Long getStudentEntityId() {
		return studentEntityId;
	}

	public void setStudentEntityId(Long studentEntityId) {
		this.studentEntityId = studentEntityId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getRecordType() {
		return recordType;
	}

	public void setRecordType(String recordType) {
		this.recordType = recordType;
	}

	public Long getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(Long pageNumber) {
		this.pageNumber = pageNumber;
	}

	public Long getLimit() {
		return limit;
	}

	public void setLimit(Long limit) {
		this.limit = limit;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}


	public String[] getSelectedGrade() {
		return selectedGrade;
	}
	public void setSelectedGrade(String[] selectedGrade) {
		this.selectedGrade = selectedGrade;
	}
	public String[] getSelectedSubjectList() {
		return selectedSubjectList;
	}
	public void setSelectedSubjectList(String[] selectedSubjectList) {
		this.selectedSubjectList = selectedSubjectList;
	}
	
	public String[] getSelectedTerm() {
		return selectedTerm;
	}
	public void setSelectedTerm(String[] selectedTerm) {
		this.selectedTerm = selectedTerm;
	}
	
	public String getSelectedPeriod() {
		return selectedPeriod;
	}
	public void setSelectedPeriod(String selectedPeriod) {
		this.selectedPeriod = selectedPeriod;
	}
	public String getSearchQuery() {
		return searchQuery;
	}
	public void setSearchQuery(String searchQuery) {
		this.searchQuery = searchQuery;
	}
	public String getSearchParameter() {
		return searchParameter;
	}
	public void setSearchParameter(String searchParameter) {
		this.searchParameter = searchParameter;
	}
	
}
